package com.ge.modules.api.service.impl;

import com.ge.modules.api.service.TbPostCommentLikeService;
import com.ge.modules.dao.TbPostCommentLikeDao;
import com.ge.modules.entity.TbPostCommentLikeEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TbPostCommentLikeServiceImpl implements TbPostCommentLikeService {
	@Autowired
	private TbPostCommentLikeDao postCommentLikeDao;
	
	@Override
	public TbPostCommentLikeEntity queryObject(Integer id){
		return postCommentLikeDao.queryObject(id);
	}
	
	@Override
	public List<TbPostCommentLikeEntity> queryList(Map<String, Object> map){
		return postCommentLikeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return postCommentLikeDao.queryTotal(map);
	}
	
	@Override
	public void save(TbPostCommentLikeEntity postCommentLike){
		postCommentLikeDao.save(postCommentLike);
	}
	
	@Override
	public void update(TbPostCommentLikeEntity postCommentLike){
		postCommentLikeDao.update(postCommentLike);
	}
	
	@Override
	public void delete(Integer id){
		postCommentLikeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		postCommentLikeDao.deleteBatch(ids);
	}
	
}
